#ifndef __ARPCOLLECT_H__
#define __ARPCOLLECT_H__

// ----------------------------------------------------------------------------
//
// ARPProtect version 1.0
//
// http://www.snoopspy.com, http://www.netlab.co.kr
//
// Copyright (c) NetworkLab Corporation All rights reserved
//
// ----------------------------------------------------------------------------

#include "ARPCommon.h"
#include "ARPObject.h"

namespace arp {

	// ----------------------------------------------------------------------------
	// event
	// ----------------------------------------------------------------------------
	typedef void (*ARPCollect_onCollect)(void *owner, void *sender, Ip ip, Mac mac);

	// ----------------------------------------------------------------------------
	// ARPCollect
	// ----------------------------------------------------------------------------
	class ARPCollect : public ARPObject
	{
	public:
		ARPCollect(void *owner = NULL);
		virtual ~ARPCollect();
	public:
		ARPCollect_onCollect onCollect;
	protected:
		virtual bool collect() = 0;
	};
};

#endif  __ARPCOLLECT_H__